package com.service.impl;
import  com.dao.StudentDao;
import com.entity.Student;
import com.service.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

/**
 * @author lizan
 */
@Service("serviceTemplate")
public class ServiceUseTemplateImpl  implements StudentService {

    @Autowired
    @Qualifier("studentDaoUseTemplate")
    private StudentDao dao;

    @Override
    public int insert(Student student) { return 0; }

    @Override
    public int queryTotalCount() { return dao.queryTotalCount(); }
}
